package com.retailshop.shopuser.service;

import com.retailshop.shopuser.entity.SignIn;
import com.retailshop.shopuser.entity.SignVoucherInfo;

import java.util.List;

public interface SignInService {


    int deleteByPrimaryKey(Integer signInId);

    int insert(SignIn record);

    int insertSelective(SignIn record);

    SignIn selectByPrimaryKey(Integer signInId);

    int updateByPrimaryKeySelective(SignIn record);

    int updateByPrimaryKey(SignIn record);

    SignVoucherInfo selectSignInByUsenoId(int userNoId, int signDays);

    int updateSignDays(SignIn signIn);

    SignIn selectByUserNoId(int userNoId);

    /**
     * 更新所有的签到状态
     * @return
     */
    int updateSignState();

    List<SignIn> selectList();

}
